package com.yike.user.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.yike.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.yike.common.api.Update;

/**
 * 商品分类统计
 *
 * @author Sakura
 * @since 2024-11-19
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_category_count")
@ApiModel(value = "CategoryCount对象")
public class CategoryCount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分类ID")
    private Long categoryId;

    @ApiModelProperty("年份（2024）")
    private Integer year;

    @ApiModelProperty("季度：1-4")
    private Integer quarter;

    @ApiModelProperty("销售额")
    private BigDecimal totalAmount;

    @ApiModelProperty("购买数量")
    private Integer buyNumber;

}
